package com.itheima.mapper;

import com.itheima.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List<User> findAll();
    User findById(Integer id);
    User findByNameAndPwd(@Param("id") int id, @Param("username") String username);
    List<User> findCondition(User user);
    List<User> findByIds(List<Integer> lists);
}
